<admintpl file="header"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
   <ul class="nav nav-tabs">
     <li><a href="{:U('active/day')}">日活跃度</a></li>
     <li><a href="{:U('active/month')}">月活跃度</a></li>
     <li class="active"><a href="{:U('active/index')}">操作列表</a></li>
  </ul>
		<form class="well form-search" method="post" action="{:U('active/index')}">
			<div class="search_type cc mb10">
				<div class="mb10">
					<span class="mr20">最后操作时间： 
						<input type="text" name="start_time" value="{$formpost.start_time}" class="J_date" style="width: 80px;">~
						<input type="text" name="end_time" value="{$formpost.end_time}" class="J_date" style="width: 80px;"> &nbsp; &nbsp;（只可查询本月数据）
						<input type="submit" class="btn btn-primary" name="search" value="搜索" />
						<if condition="$num neq 0">
							共有 {$num} 条相关记录
						</if>
					</span>
				</div>
			</div>
		</form>
   <div class="table_list">
      <div class="p10"><div class="pages"> {$Page} </div>
   <table width="100%" cellspacing="0" class="table table-hover">
        <thead>
          <tr>
                <th width="50">ID</th>
                <th width="50">用户ID</th>
                <th width="150">最后操作内容</th>
                <th width="60">请求端口</th>
                <th>数据</th>
                <th width="100">最后操作IP</th>
                <th width="120">最后操作时间</th>
                <th width="60">详细记录</th>
          </tr>
        </thead>
        <tbody>
        <foreach name="lists" item="vo">
          <tr>
            <td>{$vo.id}</td>
			<td>{$vo.loginuserid}</td>
            <td>{$vo.funcname} — {$vo.art}</td>
            <td>{$vo.remote_port}</td>
			<td>{$vo.response_data|msubstr=0,128}</td>
			<td>{$vo.remote_addr}</td>
            <td>{$vo.created}</td>
			<td><a href="{:U('active/look',array('id'=>$vo['loginuserid']))}">查看详情</a></td>
          </tr>
         </foreach>
        </tbody>
        <thead>
          <tr>
                <th width="50">ID</th>
                <th width="50">用户ID</th>
                <th width="150">最后操作内容</th>
                <th width="60">请求端口</th>
                <th>数据</th>
                <th width="100">最后操作IP</th>
                <th width="120">最后操作时间</th>
                <th width="60">详细记录</th>
          </tr>
        </thead>
      </table>
      <div class="p10"><div class="pages"> {$Page} </div> </div>
   </div>
</div>
<script type="text/javascript" src="__ROOT__/statics/js/common.js"></script>
</body>
</html>